
<div style="clear:both;">
<?php $this->widget('zii.widgets.CMenu',array(
    'items'=>array(
        array('label'=>'Info','url'=>array('Customers/update','id'=>$model->custno)),
        array('label'=>'Locations','url'=>array('/Locations','id'=>$model->custno),'active'=>Yii::app()->controller->id=='locations'),
        array('label'=>'Documents','url'=>array('/Documents','custno'=>$model->custno,'type'=>DOCTYPE_CUST),'active'=>Yii::app()->controller->id=='documents'),
        array('label' => 'A/R', 'url' => array('/customers/ar','custno'=>$model->custno)),
        array('label'=>'Jobs','url'=>'javascript:void(0)','htmlOptions'=>array('id'=>'jobs')),
        array('label'=>'Contracts','url'=>'javascript:void(0)','htmlOptions'=>array('id'=>'contracts')),
    ),
    'id'=>'tab-menu',
    'htmlOptions'=>array(
        'class'=>'tabs tabs-with-summary',
    ),
    'submenuHtmlOptions'=>array('class'=>'tabs tabs-with-summary'),
));?>
</div>

<div style="clear:both;"></div>